diff options
| author | Adam Soltys <[email protected]> | 2024-11-07 21:16:25 -0800 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2024-11-08 09:27:40 -0800 |
| commit | 32fcc461cd43c8907df5e306d520bb671307eab1 (patch) | |
| tree | 0253780c569998b6c1a5f43026586e94916c3fee /src/routes/(app)/qr/[text] | |
| parent | be5aa52cea1d57c875cfb22d25c6a866b8de2239 (diff) | |
| download | coinos-ui-32fcc461cd43c8907df5e306d520bb671307eab1.tar.gz coinos-ui-32fcc461cd43c8907df5e306d520bb671307eab1.zip | |
svelte 5
Diffstat (limited to 'src/routes/(app)/qr/[text]')
| -rw-r--r-- | src/routes/(app)/qr/[text]/+page.svelte | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/routes/(app)/qr/[text]/+page.svelte b/src/routes/(app)/qr/[text]/+page.svelte index e1aae854..02a5b718 100644 --- a/src/routes/(app)/qr/[text]/+page.svelte +++ b/src/routes/(app)/qr/[text]/+page.svelte @@ -2,7 +2,7 @@ import Icon from "$comp/Icon.svelte"; import Qr from "$comp/Qr.svelte"; import { back, copy } from "$lib/utils"; - export let data; + let { data } = $props(); let { src, text } = data; </script> @@ -12,9 +12,9 @@ <button type="button" class="btn break-all !h-auto flex-nowrap p-4 font-normal leading-normal" - on:click={() => copy(text)} + onclick={() => copy(text)} > - <iconify-icon icon="ph:copy-bold" width="32" /> + <iconify-icon icon="ph:copy-bold" width="32"></iconify-icon> <div class="my-auto">{text}</div> </button> </div> |
